package org.jeecg.modules.zcglRecipients.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 资产领用
 * @Author: jeecg-boot
 * @Date:   2022-10-24
 * @Version: V1.0
 */
@ApiModel(value="zcgl_recipients对象", description="资产领用")
@Data
@TableName("zcgl_recipients")
public class ZcglRecipients implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**新部门*/
    @Excel(name = "新部门", width = 15,dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "新部门")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private String newDepartment;
	/**老部门*/
    @Excel(name = "老部门", width = 15,dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "老部门")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    private String oldDepartment;





	/**领用人*/
    @Excel(name = "领用人", width = 15,dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "领用人")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private String recipientsUser;




	/**流程状态*/
	@Excel(name = "流程状态", width = 15)
    @ApiModelProperty(value = "流程状态")
    private Integer processStatus;
	/**流程状态说明*/
	@Excel(name = "流程状态说明", width = 15)
    @ApiModelProperty(value = "流程状态说明")
    private String processStatusText;
	/**流程备注*/
	@Excel(name = "流程备注", width = 15)
    @ApiModelProperty(value = "流程备注")
    private String processDescription;

    @Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private String image;
    /**单据编号*/
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String orderNo;
    @TableField(exist = false)
    @ApiModelProperty(value = "物资id")
    private String assetId;

    private String delFlag;
}
